export Function
Contact ​
The user's phone number will be sent as a contact when the button is pressed. Available in private chats only.
Constructor ​
ts
ReplyButton.Contact( text )
Parameter | Type | Description |
---|---|---|
text | string | Label text on the button. |
Return: ReplyButtonPayload